<?php
session_start();
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Welcome to Aquarius</title>

<link href="loginmodule.css" rel="stylesheet" type="text/css" />

<SCRIPT TYPE="text/javascript">

//This function is for making a pop up window when you press "Buy Ticket Online"

function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=450,height=350,scrollbars=yes');
return false;
}

</SCRIPT>

<style type="text/css">
#loginForm{
position:fixed;
top:60px;
left:280px;
}
h3{
position:fixed;
top:35px;
left:240px;
}
div{
position:fixed;
top:60px;
right:10px;
}
</style>
</head>

<body>



<?php


if (isset ($_SESSION['ERRMSG_ARR']) && is_array($_SESSION['ERRMSG_ARR']) && count($_SESSION['ERRMSG_ARR']) > 0) {

	echo '<ul class="err">';

	foreach ($_SESSION['ERRMSG_ARR'] as $msg) {

		echo '<li>', $msg, '</li>';

	}

	echo '</ul>';

	unset ($_SESSION['ERRMSG_ARR']);

}
?>
<?php
include_once ("common.php");
printHeader();
?>

<h3>Please do not miss any of the fields below. You will not be able to proceed with registration!</h3>


<div align="right">
<form name=form method=post action="search-feedback.php">
<table>
<tr><td><input type=text name=moviefeedback size="12"><input type=submit value="search movie"></td></tr>
</table>
</form>
</div>


<form id="loginForm" name="loginForm" method="post" action="register-exec.php">

  <table width="300" border="0" cellpadding="2" cellspacing="0">

    <tr>

      <th>First Name </th>

      <td><input name="fname" type="text" class="textfield" id="fname" /></td>

    </tr>

    <tr>

      <th>Last Name </th>

      <td><input name="lname" type="text" class="textfield" id="lname" /></td>

    </tr>
    <tr>

      <th width="124">E-mail</th>

      <td width="168"><input name="email" type="text" class="textfield" id="email" /></td>

    </tr>
    <tr>

      <th width="124">Adress:</th>

    </tr>
    <tr/>
    <tr>

      <th width="124">Adress Line</th>

      <td width="168"><input name="address" type="text" class="textfield" id="address" /></td>

    </tr>
     <tr>

      <th width="124">City</th>

      <td width="168"><input name="city" type="text" class="textfield" id="city" /></td>

    </tr>
     <tr>

      <th width="124">Country</th>

      <td width="168"><input name="country" type="text" class="textfield" id="country" /></td>

    </tr>
     <tr>

      <th width="124">Zip Code</th>

      <td width="168"><input name="zipcode" type="text" class="textfield" id="zipcode" /></td>

    </tr>
    <tr>

      <th width="124">Login Info:</th>

    </tr>
    <tr/>
    <tr>

      <th width="124">Login Name</th>

      <td width="168"><input name="userid" type="text" class="textfield" id="userid" /></td>

    </tr>

    <tr>

      <th>Password</th>

      <td><input name="password" type="password" class="textfield" id="password" /></td>

    </tr>

    <tr>

      <th>Confirm Password </th>

      <td><input name="cpassword" type="password" class="textfield" id="cpassword" /></td>

    </tr>

    <tr>

      <td>&nbsp;</td>

      <td><input type="submit" name="Submit" value="Register" /></td>

    </tr>

  </table>

</form>


</body>

</html>
